import Vuex from "vuex";
import Vue from "vue";

Vue.use(Vuex)

// 引入模块仓库
import home from "./home";
import search from "./search";


export default new Vuex.Store({
    //模块：把小仓库进行合并变为大仓库
    modules: {
        home,
        search,
    },
});